﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CDH_Shop.Models.Good
{

    /// <summary>
    /// 获取商品列表返回类
    /// </summary>
    public class GetGoodListResponse
    {
        /// <summary>
        /// 商品列表
        /// </summary>
        public List<GoodModel> GoodList { get; set; }
        /// <summary>
        /// 商品总数
        /// </summary>
        public int Total { get; set; }
    }
    /// <summary>
    /// 商品返回类
    /// </summary>
    public class GoodModel
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodName { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string GoodCover { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodId { get; set; }
    }
    //商品列表（商品名称，商品Id，商品图片）
}
